.class public final Lnet/tsapps/topdeals/e/c;
.super Ljava/lang/Object;


# instance fields
.field public a:Ljava/util/List;

.field private b:Ljava/util/HashMap;


# direct methods
.method public constructor <init>(Ljava/lang/String;)V
    .locals 6

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lnet/tsapps/topdeals/e/c;->a:Ljava/util/List;

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lnet/tsapps/topdeals/e/c;->b:Ljava/util/HashMap;

    new-instance v0, Lnet/tsapps/topdeals/objects/k;

    const-string v1, "Android"

    invoke-direct {v0, v1}, Lnet/tsapps/topdeals/objects/k;-><init>(Ljava/lang/String;)V

    iget-object v1, v0, Lnet/tsapps/topdeals/objects/k;->a:Ljava/util/List;

    new-instance v2, Lnet/tsapps/topdeals/objects/f;

    const-string v3, "Apps"

    const-wide/16 v4, 0xb

    invoke-direct {v2, v3, v4, v5}, Lnet/tsapps/topdeals/objects/f;-><init>(Ljava/lang/String;J)V

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v1, v0, Lnet/tsapps/topdeals/objects/k;->a:Ljava/util/List;

    new-instance v2, Lnet/tsapps/topdeals/objects/f;

    const-string v3, "Hardware"

    const-wide/16 v4, 0xc

    invoke-direct {v2, v3, v4, v5}, Lnet/tsapps/topdeals/objects/f;-><init>(Ljava/lang/String;J)V

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v1, p0, Lnet/tsapps/topdeals/e/c;->a:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v0, Lnet/tsapps/topdeals/objects/k;

    const-string v1, "Apple / iOS"

    invoke-direct {v0, v1}, Lnet/tsapps/topdeals/objects/k;-><init>(Ljava/lang/String;)V

    iget-object v1, v0, Lnet/tsapps/topdeals/objects/k;->a:Ljava/util/List;

    new-instance v2, Lnet/tsapps/topdeals/objects/f;

    const-string v3, "Apps"

    const-wide/16 v4, 0x15

    invoke-direct {v2, v3, v4, v5}, Lnet/tsapps/topdeals/objects/f;-><init>(Ljava/lang/String;J)V

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v1, v0, Lnet/tsapps/topdeals/objects/k;->a:Ljava/util/List;

    new-instance v2, Lnet/tsapps/topdeals/objects/f;

    const-string v3, "Hardware"

    const-wide/16 v4, 0x16

    invoke-direct {v2, v3, v4, v5}, Lnet/tsapps/topdeals/objects/f;-><init>(Ljava/lang/String;J)V

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v1, p0, Lnet/tsapps/topdeals/e/c;->a:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v0, Lnet/tsapps/topdeals/objects/k;

    const-string v1, "Filme / Serien"

    invoke-direct {v0, v1}, Lnet/tsapps/topdeals/objects/k;-><init>(Ljava/lang/String;)V

    iget-object v1, v0, Lnet/tsapps/topdeals/objects/k;->a:Ljava/util/List;

    new-instance v2, Lnet/tsapps/topdeals/objects/f;

    const-string v3, "Blu-ray"

    const-wide/16 v4, 0x1f

    invoke-direct {v2, v3, v4, v5}, Lnet/tsapps/topdeals/objects/f;-><init>(Ljava/lang/String;J)V

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v1, v0, Lnet/tsapps/topdeals/objects/k;->a:Ljava/util/List;

    new-instance v2, Lnet/tsapps/topdeals/objects/f;

    const-string v3, "DVD"

    const-wide/16 v4, 0x20

    invoke-direct {v2, v3, v4, v5}, Lnet/tsapps/topdeals/objects/f;-><init>(Ljava/lang/String;J)V

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v1, p0, Lnet/tsapps/topdeals/e/c;->a:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v0, Lnet/tsapps/topdeals/objects/k;

    const-string v1, "Games"

    invoke-direct {v0, v1}, Lnet/tsapps/topdeals/objects/k;-><init>(Ljava/lang/String;)V

    iget-object v1, v0, Lnet/tsapps/topdeals/objects/k;->a:Ljava/util/List;

    new-instance v2, Lnet/tsapps/topdeals/objects/f;

    const-string v3, "PC"

    const-wide/16 v4, 0x29

    invoke-direct {v2, v3, v4, v5}, Lnet/tsapps/topdeals/objects/f;-><init>(Ljava/lang/String;J)V

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v1, v0, Lnet/tsapps/topdeals/objects/k;->a:Ljava/util/List;

    new-instance v2, Lnet/tsapps/topdeals/objects/f;

    const-string v3, "PS3"

    const-wide/16 v4, 0x2a

    invoke-direct {v2, v3, v4, v5}, Lnet/tsapps/topdeals/objects/f;-><init>(Ljava/lang/String;J)V

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v1, v0, Lnet/tsapps/topdeals/objects/k;->a:Ljava/util/List;

    new-instance v2, Lnet/tsapps/topdeals/objects/f;

    const-string v3, "Xbox 360"

    const-wide/16 v4, 0x2b

    invoke-direct {v2, v3, v4, v5}, Lnet/tsapps/topdeals/objects/f;-><init>(Ljava/lang/String;J)V

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v1, v0, Lnet/tsapps/topdeals/objects/k;->a:Ljava/util/List;

    new-instance v2, Lnet/tsapps/topdeals/objects/f;

    const-string v3, "Sonstige (z.B. Wii, 3DS)"

    const-wide/16 v4, 0x2c

    invoke-direct {v2, v3, v4, v5}, Lnet/tsapps/topdeals/objects/f;-><init>(Ljava/lang/String;J)V

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v1, p0, Lnet/tsapps/topdeals/e/c;->a:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v0, Lnet/tsapps/topdeals/objects/k;

    const-string v1, "Sonstiges"

    invoke-direct {v0, v1}, Lnet/tsapps/topdeals/objects/k;-><init>(Ljava/lang/String;)V

    iget-object v1, v0, Lnet/tsapps/topdeals/objects/k;->a:Ljava/util/List;

    new-instance v2, Lnet/tsapps/topdeals/objects/f;

    const-string v3, "Facebook"

    const-wide/16 v4, -0x1

    invoke-direct {v2, v3, v4, v5}, Lnet/tsapps/topdeals/objects/f;-><init>(Ljava/lang/String;J)V

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v1, v0, Lnet/tsapps/topdeals/objects/k;->a:Ljava/util/List;

    new-instance v2, Lnet/tsapps/topdeals/objects/f;

    const-string v3, "B-Ware"

    const-wide/16 v4, -0x2

    invoke-direct {v2, v3, v4, v5}, Lnet/tsapps/topdeals/objects/f;-><init>(Ljava/lang/String;J)V

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v1, v0, Lnet/tsapps/topdeals/objects/k;->a:Ljava/util/List;

    new-instance v2, Lnet/tsapps/topdeals/objects/f;

    const-string v3, "Zeitschriften- / Zeitungsabos"

    const-wide/16 v4, 0x33

    invoke-direct {v2, v3, v4, v5}, Lnet/tsapps/topdeals/objects/f;-><init>(Ljava/lang/String;J)V

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v1, v0, Lnet/tsapps/topdeals/objects/k;->a:Ljava/util/List;

    new-instance v2, Lnet/tsapps/topdeals/objects/f;

    const-string v3, "MP3s"

    const-wide/16 v4, 0x34

    invoke-direct {v2, v3, v4, v5}, Lnet/tsapps/topdeals/objects/f;-><init>(Ljava/lang/String;J)V

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v1, p0, Lnet/tsapps/topdeals/e/c;->a:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-virtual {p0, p1}, Lnet/tsapps/topdeals/e/c;->a(Ljava/lang/String;)V

    return-void
.end method


# virtual methods
.method public final a(JZ)V
    .locals 3

    iget-object v0, p0, Lnet/tsapps/topdeals/e/c;->b:Ljava/util/HashMap;

    invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

    invoke-static {p3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    return-void
.end method

.method public final a(Ljava/lang/String;)V
    .locals 6

    iget-object v0, p0, Lnet/tsapps/topdeals/e/c;->b:Ljava/util/HashMap;

    invoke-virtual {v0}, Ljava/util/HashMap;->clear()V

    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_0

    const-string v0, ","

    invoke-virtual {p1, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v1

    array-length v2, v1

    const/4 v0, 0x0

    :goto_0
    if-lt v0, v2, :cond_1

    :cond_0
    return-void

    :cond_1
    aget-object v3, v1, v0

    iget-object v4, p0, Lnet/tsapps/topdeals/e/c;->b:Ljava/util/HashMap;

    new-instance v5, Ljava/lang/Long;

    invoke-direct {v5, v3}, Ljava/lang/Long;-><init>(Ljava/lang/String;)V

    const/4 v3, 0x1

    invoke-static {v3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v3

    invoke-virtual {v4, v5, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    add-int/lit8 v0, v0, 0x1

    goto :goto_0
.end method

.method public final a(J)Z
    .locals 2

    iget-object v0, p0, Lnet/tsapps/topdeals/e/c;->b:Ljava/util/HashMap;

    invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Boolean;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    :cond_0
    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    return v0
.end method
